Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED JENKINS-42371] - Call disconnect() on HttpURLConnection object #152

Merged

Conversation

nehaljwani
Copy link
Contributor

Release the network resource(s) held by the underlying connection(s?):

  • during retry attempts
  • after obtaining the JNLP connection arguments

Release the network resource(s) held by the underlying connection(s?):

 - during retry attempts
 - after obtaining the JNLP connection arguments
Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍 . CC @stephenc

I should definitely revive the static analysis flows in the codebase.

@oleg-nenashev
Copy link
Member

As we discussed in IRC, it is a backporting candidate

@nehaljwani
Copy link
Contributor Author

@oleg-nenashev oleg-nenashev changed the title Call disconnect() on HttpURLConnection object [FIXED JENKINS-42371] - Call disconnect() on HttpURLConnection object Feb 28, 2017
@oleg-nenashev oleg-nenashev merged commit 75f9fab into jenkinsci:master Feb 28, 2017
oleg-nenashev added a commit that referenced this pull request Mar 3, 2017
oleg-nenashev added a commit to oleg-nenashev/jenkins that referenced this pull request Mar 3, 2017
Fixed issues:

* [JENKINS-42371](https://issues.jenkins-ci.org/browse/JENKINS-42371) - Properly close the `URLConnection` when parsing connection arguments from the JNLP file. It was causing a descriptor leak in the case of multiple connection attempts. ([PR jenkinsci#152](jenkinsci/remoting#152))
oleg-nenashev added a commit to jenkinsci/jenkins that referenced this pull request Mar 8, 2017
* [FIXES JENKINS-42371] - Update remoting to 3.6

Fixed issues:

* [JENKINS-42371](https://issues.jenkins-ci.org/browse/JENKINS-42371) - Properly close the `URLConnection` when parsing connection arguments from the JNLP file. It was causing a descriptor leak in the case of multiple connection attempts. ([PR #152](jenkinsci/remoting#152))

* Remoting 3.6 has been burned
olivergondza pushed a commit to jenkinsci/jenkins that referenced this pull request Mar 13, 2017
* [FIXES JENKINS-42371] - Update remoting to 3.6

Fixed issues:

* [JENKINS-42371](https://issues.jenkins-ci.org/browse/JENKINS-42371) - Properly close the `URLConnection` when parsing connection arguments from the JNLP file. It was causing a descriptor leak in the case of multiple connection attempts. ([PR #152](jenkinsci/remoting#152))

* Remoting 3.6 has been burned

(cherry picked from commit b6e4fb4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants